package com.chensf.studydemo.guide.animation

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.chensf.studydemo.R
import kotlinx.android.synthetic.main.activity_lottie_anim.*

class LottieAnim : AppCompatActivity(){
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_lottie_anim)
        lottieView.setOnClickListener {
            lottieView.playAnimation()
        }
    }
}